package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Phone    string `gorm:"type:char(11);not null;"`
	Password string `gorm:"type:varchar(50);not null;"`
	Img      string `gorm:"type:varchar(256);not null;"`
	Name     string `gorm:"type:varchar(20);not null;"`
	Time     string `gorm:"type:varchar(50);not null;"`
	Sex      string `gorm:"type:enum('男','女');not null;"`
	Text     string `gorm:"type:varchar(100);not null;"`
}
